package com.daiqee.pojo;


import java.io.Serializable;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldStrategy;
import com.baomidou.mybatisplus.enums.IdType;
import com.daiqee.annotations.DateField;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 人力资源-员工
 * 
 * <br/>
 * @since JDK 1.8
 * @version  V2.1
 * @author RichardTang 
 * @date: 2018年5月7日 下午5:43:52
 * @package com.daiqee.pojo
 * @copyright:Copyright (c) 2018, 1245811923@qq.com All Rights Reserved.
 */
@TableName(value="employee")
public class Employee extends LogicDeleteFlag implements Serializable{
	
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;
	
	@TableId(value="emp_id",type=IdType.AUTO)
    private Integer empId;              //员工编号                                                                                                  
    
	@TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String empName;             //员工姓名                                                                                                  
        
    private Integer empAge;             //年龄                                                                                                    
                                                                                                                                                
    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String empSex;              //性别                                                                                                    
                                                                                                                                                
    private String empDomicilePlace;    //户籍地                                                                                                   
                                                                                                                                                
    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String empNativePlace;      //籍贯                                                                                                    
                                                                                                                                                
    private String empMarriage;         //婚姻                                                                                                    
                 
    @DateField
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date empBirthDay;           //出生年月                                                                                                  
                                                                                                                                                
    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String empCard;             //身份证            
    
    private String empWorkState;		//工作状态
                                                                                                                                                
    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String empEducation;        //学历                                                                                                    
                                                                                                                                                
    private String empPhone;            //联系电话                                                                                                  
       
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private Date empEntryDate;          //入职日期                                                                                                      
                      
    private Date empQuitDate;			//离职日期
    
    private String empType;             //类型                                                                                                      
                                                                                                                                           
    private String empDomicileCity;     //现居住城市                                                                                                                                                                                  
                                                                                                                                                           
    private String empDomicileAddress;  //户籍所在地                                                                                                            
                                                                                                                                                           
    private Integer empRole;            //职务 
    
	private Integer empDepartment;		//部门
	
	public Integer getEmpDepartment() {
        return empDepartment;
    }

    public void setEmpDepartment(Integer empDepartment) {
        this.empDepartment = empDepartment;
    }
	
    public Date getEmpQuitDate() {
		return empQuitDate;
	}

	public void setEmpQuitDate(Date empQuitDate) {
		this.empQuitDate = empQuitDate;
	}

	public String getEmpWorkState() {
		return empWorkState;
	}

	public void setEmpWorkState(String empWorkState) {
		this.empWorkState = empWorkState;
	}

	public Integer getEmpId() {                                                                           
        return empId;                   	                                                                               
    }                                                                                                             
                                        			                                                              
    public void setEmpId(Integer empId) {                                                                                                          
        this.empId = empId;             
    }                                   
                                        
    public String getEmpName() {        
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName == null ? null : empName.trim();
    }

    public Integer getEmpAge() {
        return empAge;
    }

    public void setEmpAge(Integer empAge) {
        this.empAge = empAge;
    }

    public String getEmpSex() {
        return empSex;
    }

    public void setEmpSex(String empSex) {
        this.empSex = empSex == null ? null : empSex.trim();
    }

    public String getEmpDomicilePlace() {
        return empDomicilePlace;
    }

    public void setEmpDomicilePlace(String empDomicilePlace) {
        this.empDomicilePlace = empDomicilePlace == null ? null : empDomicilePlace.trim();
    }

    public String getEmpNativePlace() {
        return empNativePlace;
    }

    public void setEmpNativePlace(String empNativePlace) {
        this.empNativePlace = empNativePlace == null ? null : empNativePlace.trim();
    }

    public String getEmpMarriage() {
        return empMarriage;
    }

    public void setEmpMarriage(String empMarriage) {
        this.empMarriage = empMarriage == null ? null : empMarriage.trim();
    }

    public Date getEmpBirthDay() {
        return empBirthDay;
    }

    public void setEmpBirthDay(Date empBirthDay) {
        this.empBirthDay = empBirthDay;
    }

    public String getEmpCard() {
        return empCard;
    }

    public void setEmpCard(String empCard) {
        this.empCard = empCard == null ? null : empCard.trim();
    }

    public String getEmpEducation() {
        return empEducation;
    }

    public void setEmpEducation(String empEducation) {
        this.empEducation = empEducation == null ? null : empEducation.trim();
    }

    public String getEmpPhone() {
        return empPhone;
    }

    public void setEmpPhone(String empPhone) {
        this.empPhone = empPhone == null ? null : empPhone.trim();
    }

    public Date getEmpEntryDate() {
        return empEntryDate;
    }

    public void setEmpEntryDate(Date empEntryDate) {
        this.empEntryDate = empEntryDate;
    }

    public String getEmpType() {
        return empType;
    }

    public void setEmpType(String empType) {
        this.empType = empType == null ? null : empType.trim();
    }

    public String getEmpDomicileCity() {
        return empDomicileCity;
    }

    public void setEmpDomicileCity(String empDomicileCity) {
        this.empDomicileCity = empDomicileCity == null ? null : empDomicileCity.trim();
    }

    public String getEmpDomicileAddress() {
        return empDomicileAddress;
    }

    public void setEmpDomicileAddress(String empDomicileAddress) {
        this.empDomicileAddress = empDomicileAddress == null ? null : empDomicileAddress.trim();
    }

    public Integer getEmpRole() {
        return empRole;
    }

    public void setEmpRole(Integer empRole) {
        this.empRole = empRole;
    }
    
}